#ifndef __WHIMSY_NETWORK_HPP__SHANHAOBO_19800429__
#define __WHIMSY_NETWORK_HPP__SHANHAOBO_19800429__

#include "./WhimsyNetworkConnection.hpp"

namespace Whms
{
    namespace Network
    {
        struct Type : public ::Whms::Object::Base::Type
        {
            typedef ::Wiz::Map::Type<
                ::Whms::Network::Address::Type,
                ::Whms::Network::Connection::Ptr
            > tAddrToConnMap;

            typedef ::Wiz::List::Type<
                ::Whms::Network::Socket::Ptr
            > tSocketList;

            tAddrToConnMap      m_AddrToConn;
            tSocketList         m_SocketList;

            ::Whms::Void::Type  Dispatch(::Whms::Real::In inDeltaTime);
        };
    } /// end of namespace Network
} /// end of namespace Whms

#endif /*__WHIMSY_NETWORK_HPP__SHANHAOBO_19800429__*/
